import { request } from "@/utils/request.js";
/**
 * 获取阿里ossSecurityToken
 */
export const aliOssSecurityToken = () => {
    return request({
        url: "web/applet/file/getAliOssSecurityToken",
        method: "get"
    });
};

/**
 * 设置上传osss访问权限
 */
export const aliOssPermission = (data) => {
    return request({
        url: "web/applet/file/setObjectAcs",
        method: "post",
        data
    });
};


